package com.warehouse.service;

import com.warehouse.dto.ProductDTO;
import com.warehouse.entity.Product;
import java.util.List;

public interface ProductService {
    
    List<Product> getAllProducts();
    
    List<ProductDTO> getAllProductsWithBoxDisplay();
    
    Product getProductById(Long id);
    
    List<Product> getProductsByCategory(String category);
    
    List<Product> getProductsByName(String productName);
    
    List<Product> getLowStockProducts();
    
    Product createProduct(Product product);
    
    Product updateProduct(Product product);
    
    boolean updateStock(Long productId, Integer quantity);
    
    boolean deleteProduct(Long id);
    
    long getProductCount();
} 